package com.sam.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component("jobsConfig")
@ConfigurationProperties(prefix = "com.sam")
@PropertySource(value = "jobs.properties")
@Data
public class JobsConfig {
    private Map<String, List<String>> dependentJobs;
    private List<String> lowLevelJobs;

}
